<template>
  <view class="header-tips">
    <image src="@/static/images/wordStudy/tip-icon.png" mode="widthFix" />
    <text><slot /></text>
  </view>
</template>

<style lang="scss" scoped>
.header-tips {
  padding: 0 30rpx;
  border-radius: 20rpx;
  display: flex;
  height: 100rpx;
  align-items: center;
  color: #666;
  font-size: 24rpx;
  image{
    width: 36rpx;
    margin-right: 10rpx;
  }
}
</style>
